package com.zbkj.service.dao.project;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.common.model.project.EstimateFun;
import com.zbkj.common.vo.CountVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 估算功能描述表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2024-09-13
 */
public interface EstimateFunMapper extends BaseMapper<EstimateFun> {

    Integer getMaxSortNumByProductId(@Param("projectId") Long projectId);

    BigDecimal sumFunPointsByProjectId(@Param("projectId") long projectId);

    List<CountVo> findIdxCount(@Param("projectId") Long projectId);
}
